/*
    Copyright 2017, China Mobile Co., Ltd.

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

            http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
*/

#page-wrapper, body, html {
    height: 100%;
}

#page-wrapper {
    position: relative;
}

.fixed-sidebar #page-sidebar {
    position: fixed;
    top: 0;
}

/* Sidebar */
#page-sidebar {
    width: 240px;
    position: relative;
    z-index: 90;
    border: #c1cad5 solid 0.5px;
    border-width: 0px 0px 0px 1px;
    background: #e4e9f0;
}

#header-logo {
    width: 240px;
    text-transform: uppercase;
    font-weight: normal;
    height: 52px;
    line-height: 52px;
    color: #fff;
}

#sidebar-menu {
    width: 240px;
    background: #FFF;
    overflow: hidden;
    height: auto !important;
    position: absolute;
    left: 0;
    border: #c1cad5 solid 1px;
    border-width: 0 1px 2px 0;
}

ul {
    list-style-type: none;
}

a {
    color: #b63b4d;
    text-decoration: none;
}

.accordion {
    width: 240px;
    background: #37485d;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-padding-start: 0px;
    margin-bottom: 0px;
}

.accordion .link {
    cursor: pointer;
    display: block;
    padding: 15px 15px 15px 42px;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    font-weight: 700;
    border-bottom: 1px solid #CCC;
    position: relative;
    -webkit-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.accordion li:last-child .link {
    border-bottom: 0;
}

.accordion li i {
    position: absolute;
    top: 16px;
    left: 12px;
    font-size: 18px;
    color: rgba(255,255,255,0.5);
    -webkit-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.accordion li i.fa-chevron-down {
    right: 12px;
    left: auto;
    font-size: 16px;
}

.accordion li.open .link {
    color: #b63b4d;
}

.accordion li.open i {
    color: #b63b4d;
}

.accordion li.open i.fa-chevron-down {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

.submenu {
    display: none;
    background: #6b6262;
    font-size: 14px;
    -webkit-padding-start: 0px;
}

.submenu li {
    border-bottom: 1px solid #4b4a5e;
}

.submenu a {
    display: block;
    text-decoration: none;
    color: #d9d9d9;
    padding: 12px;
    padding-left: 42px;
    -webkit-transition: all 0.25s ease;
    -o-transition: all 0.25s ease;
    transition: all 0.25s ease;
}

.submenu a:hover {
    background: #527571;
    color: #FFF;
}

#page-main-wrapper {
    margin-left: 240px;
    height: 100%;
}

#page-header {
    background: #37485d;
    padding: 0;
}

#page-header a,
#header-logo a {
    color: rgba(255,255,255,0.5);
}

#page-header .button-group > a:hover,
#page-header .top-icon-bar > a:hover, 
#page-header .top-icon-bar a.user-ico:hover {
    color: #fff !important;
}

#page-header .dropdown-menu a {
    color: #000;
}

#page-header .top-icon-bar {
    border-right: rgba(255,255,255,0.1) solid 1px;
    float: right;
}

#page-header .top-icon-bar .dropdown {
    float: left;
    display: block;
}

#page-header .top-icon-bar > a {
    display: block;
    height: 52px;
    line-height: 52px;
    text-align: center;
    float: left;
    position: relative;
    font-size: 24px;
    width: 60px;
    border-left: rgba(255,255,255,0.1) solid 1px;
}

#page-header .top-icon-bar > a .glyph-icon {
    display: block;
}

#page-header .top-icon-bar > a:hover {
    background: rgba(255,255,255,0.05);
}

#page-header .top-icon-bar > a .badge-absolute {
    top: 6px;
    right: 6px;
    left: auto;
    border: 0;
    height: 16px;
    line-height: 16px;
    padding: 0 3px !important;
    border-radius: 2px;
}

#page-header .top-icon-bar a.user-ico {
    line-height: 36px;
    font-size: 14px;
    width: auto;
}

#page-header .top-icon-bar a.user-ico img {
    margin: 8px 0 0 8px;
    float: left;
}

#page-header .top-icon-bar a.user-ico span {
    display: block;
    float: left;
    height: 44px;
    line-height: 36px;
    margin: 8px 8px 0;
}

#page-header .top-icon-bar.dropdown .dropdown-menu.float-right {
    min-width: 100px;
    right: 0;
}

#page-header .top-icon-bar a.user-ico i {
    margin: 8px 8px 0 0;
    font-size: 10px;
    display: block;
    float: left;
    height: 36px;
    line-height: 36px;
}

.submenu_active {
    font-style: italic;
    background: #6b1a1a !important;
    color: #FFF;
    border-left: 3px solid #4ac9ff;
}

#mainFrame_div {
    padding-top: 30px;
    padding-bottom: 30px;
    padding-right: 30px;
    padding-left: 30px;
}